package hw;

import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

/**
 *
 * @author ddavilac
 */
public class Asistente {
    
    private Image a = new Image("");
    private ImageView IV = new ImageView(a);
    private String aStady, aQuestion, aHappy, aHello, aGoodBye;
    private String states;
    private String state;
    
    
    
    public Asistente(){
        
    }
    
    public void loadNewAsistant(String aStady, String aQuestion, String aHappy, String aHello, String aGoodBye){
        
        /*Descargar la imagen y guardarla */
        
        this.setState("Hello");
        this.a = new Image(this.getState());
    }
    
    
    
    public void setState(String state){        
        switch(state){
            case "Hello":{
                
                break;
            }case "Stady":{
                
                break;
            }case "Question":{
                
                break;
            }case "Happy":{
                
                break;
            }case "GoodBye":{
                
                break;
            }default:{
                setState("Stady");
                break;
            }
        }
    }
    
    public String getState(){
        return state;
    }
    
}
